package edu.sctu.renpingan.ioflow.objectstream;

import java.io.Serializable;

/**
 * Created by Administrator on 2015/6/15.
 */
public class InputAndOutput implements Serializable{

    private String studentname;
    private String studentsex;
    private int studentage;

    @Override
    public String toString() {
        return "InputAndOutput{" +
                "studentname='" + studentname + '\'' +
                ", studentsex='" + studentsex + '\'' +
                ", studentage=" + studentage +
                '}';
    }

    public  InputAndOutput(){}

    public InputAndOutput(String studentname, String studentsex, int studentage) {
        this.studentname = studentname;
        this.studentsex = studentsex;
        this.studentage = studentage;
    }

    public String getStudentsex() {
        return studentsex;
    }

    public void setStudentsex(String studentsex) {
        this.studentsex = studentsex;
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public int getStudentage() {
        return studentage;
    }

    public void setStudentage(int studentage) {
        this.studentage = studentage;
    }


}
